<include file="Public:header"/>
<link rel="stylesheet" href="__PUBLIC__/Css/page.css">
<style>
    .nav { margin: 10px 0 10px 40px;}
    .nav ul li{ background-color:rgba(0,0,255,0.3); width: 25%; float: left; padding: 2px; border:1px solid;border-radius: 2px; text-align: center;cursor: pointer;}

    .search{
        padding: 20px;
    }
</style>
<div id="main">

    <form id="form1" name="form1" method="post" action="__APP__/Gouwu/mach_goods" style="margin-top:20px;">

        <div class="nav">
            <ul>
                <li><a href="__APP__/Gouwu/mach_goods/productType/{$productType}/">全部</a></li>

                <!--二级导航-->
                <volist name="erji" id="two">
                    <li><a href="__APP__/Gouwu/mach_goods/productType/{$productType}/two/{$two.id}">{$two.tpname}</a></li>
                </volist>
            </ul>
        </div>

        <div style="clear: both"></div>

        <div class="search">
            <input type="hidden" name="productType" value="{$productType}">

            <div><input type="image" src="__PUBLIC__/Images/search.png"  value="" style="float: right;border-radius: 25px;width:9%;"></div>
            <div><input type="text" name="keyword" id="title" size="40"  value="" onfocus="if(this.value==''){this.value='';}" onblur="if(this.value==''){this.value='';}" style="background-color: #e8e4e4;border:1px solid #eee;border-radius: 4px;height: 30px;line-height: 30px;float:right;" placeholder="请输入商品名称"></div>

        </div>
    </form>
    <div style="clear: both"></div>
    <ul class="goodslists" style="margin-top: 10px;">
        <volist name="list" id="vo">
            <li style="border-bottom:1px solid #ddd">
                <div style="padding:4px;">
                    <a href="__URL__/Cpcontent/id/{$vo.id}">
                        <div style="height:170px; overflow:hidden; text-align:center;">
                            <img src="{$vo.img}" style="max-width:65%;display:inline;" alt="{$vo.name}">
                        </div>
                        <p style="line-height:20px;text-decoration: blink!important; height:20px; overflow:hidden; text-align:center; font-weight: 600">{$vo.name}</p>

                    </a>
                    <p style=" height:30px; overflow:hidden;"><span style="float:left">会员价:</span><b class="price" style="font-size:14px; float:left; padding-left:3px;color:#fd9a34;">￥{$vo.money}</b>

                    <a href="__URL__/Cpcontent/id/{$vo.id}"><span class="buyfals" style="background:#fd9a34;border-radius: 2px;float: right;height: 25px;line-height:18px">立即购买</span></a>
                    </p>
                </div>
            </li>
        </volist>

        <div class="clear"></div>
    </ul>
    <div class="clear10"></div>
</div>
<div style="text-align: center" class="pagelist">{$page}</div>
<include file="Public:footer" />